<template>
	<view class="contanier" :style="{marginTop:capsuleTop+'px'}">
		<van-image width="68" height="64" :src="ymLogo" class='logo' use-loading-slot lazy-load></van-image>
		<van-image width="90" height="28" :src="ymText" class='logo-text' use-loading-slot lazy-load></van-image>
	</view>
</template>

<script>
	import {
		capsuleTopHeight
	} from "../../mixins/mixins.js"
	export default {
		mixins: [capsuleTopHeight],
		name: "ym-logo",
		props: {
			ymLogo: {
				type: String,
				default: 'https://static01.imgkr.com/temp/3b6effbad99a40f3b3cc8ae9a47bafb9.png'
			},
			ymText: {
				type: String,
				default: 'https://static01.imgkr.com/temp/dbf9961dd7fe46c3b51e444ffce4eeca.png'
			}
		},
	}
</script>

<style lang="scss">
	.contanier {
		display: flex;
		align-items: center;
		margin-bottom: -15px;
		position: relative;

		.logo {
			float: left;
			width: 68px;
			height: 64px;
			margin-left: 15px;
		}

		.logo-text {
			width: 90px;
			height: 28px;
			margin-left: 10px;
		}
	}
</style>
